//
//  DetailCell.m
//  UI16.真.豆瓣
//
//  Created by dllo on 15/10/30.
//  Copyright © 2015年 Amydom. All rights reserved.
//

#import "ActDetailCell.h"

@implementation ActDetailCell

-(void)dealloc{
    [_Abstract release];
    [_actAbstract release];
    [_actAdnamelabel release];
    [_actAdNameImage release];
    [_actMoldDataLabel release];
    [_actMoldImage release];
    [_actMoldLabel release];
    [_actTimeImage release];
    [_actTimeLabel release];
    [_actAddressImage release];
    [_actAddressLabel release];
    [_actImage release];
    [_actLabel release];
    [super dealloc];
    
    
}

- (instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        [self CreatSubView];
        
    }
    return self;
    
}


- (void)CreatSubView{
    
    self.actImage = [[UIImageView alloc]initWithFrame:CGRectMake(15, 70, 120, 200)];
    self.actImage.backgroundColor = [UIColor orangeColor];
    [self addSubview:self.actImage];
    [_actImage release];
    
    self.actLabel = [[UILabel alloc]initWithFrame:CGRectMake(17, 20, 355, 30)];
    [self addSubview:self.actLabel];
    [_actLabel release];
    
    self.actTimeImage = [[UIImageView alloc]initWithFrame:CGRectMake(145, 70, 25, 25)];
    self.actTimeImage.image = [UIImage imageNamed:@"icon_date_blue@2x.png"];
    [self addSubview:self.actTimeImage];
    [_actTimeImage release];
   
    self.actTimeLabel = [[UILabel alloc]initWithFrame:CGRectMake(170, 72, 205, 20)];
    [self addSubview:self.actTimeLabel];
    [_actTimeLabel release];
    
    
    self.actAdNameImage = [[UIImageView alloc]initWithFrame:CGRectMake(145, 100, 25, 25)];
    self.actAdNameImage.image = [UIImage imageNamed:@"icon_sponsor_blue@2x.png"];
    [self addSubview:self.actAdNameImage];
    [_actAdNameImage release];
    
    self.actAdnamelabel = [[UILabel alloc]initWithFrame:CGRectMake(170, 102, 205, 20)];
    [self addSubview:self.actAdnamelabel];
    [_actAdnamelabel release];
  
    
    self.actMoldImage = [[UIImageView alloc]initWithFrame:CGRectMake(145, 140, 25, 25)];
    self.actMoldImage.image = [UIImage imageNamed:@"icon_catalog_blue@2x.png"];
    [self addSubview:self.actMoldImage];
    [_actMoldImage release];
    
    self.actMoldLabel = [[UILabel alloc]initWithFrame:CGRectMake(170, 140, 220, 20)];
    self.actMoldLabel.text = @"类型:";
    [self addSubview:self.actMoldLabel];
    [_actMoldLabel release];
    
    self.actMoldDataLabel = [[UILabel alloc]initWithFrame:CGRectMake(215, 140, 150, 20)];
    [self addSubview: self.actMoldDataLabel];
    [_actMoldDataLabel release];
    
    
    self.actAddressImage = [[UIImageView alloc]initWithFrame:CGRectMake(145, 170, 25, 25)];
    self.actAddressImage.image = [UIImage imageNamed:@"icon_spot_blue@2x.png"];
    [self addSubview:self.actAddressImage];
    [_actAddressImage release];
    
    self.actAddressLabel = [[UILabel alloc]initWithFrame:CGRectMake(170, 170, 180, 25)];
  
    [self addSubview:self.actAddressLabel];
    [_actAddressLabel release];
    
    
    self.actAbstract = [[UILabel alloc]initWithFrame:CGRectMake(15, 290, 100, 30)];
    self.actAbstract.text = @"活动介绍";
    self.actAbstract.font = [UIFont boldSystemFontOfSize:20];
    [self addSubview:self.actAbstract];
    [_actAbstract release];
    
    
    self.Abstract = [[UILabel alloc]initWithFrame:CGRectMake(15, 340, 345, 1800)];
    [self addSubview:self.Abstract];
    [_Abstract release];
    
    
    
}















- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
